<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>忘记密码</title>
		<link href="<?php echo base_url()?>css/bootstrap.css" rel="stylesheet" />
		<!--<link href="css/bootstrap-responsive.min.css" rel="stylesheet" />-->
		<link href="<?php echo base_url()?>css/style.css" rel="stylesheet" />
		<script src="http://lib.sinaapp.com/js/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
		<script src="http://lib.sinaapp.com/js/jquery-ui/1.8.2/jquery-ui.min.js" type="text/javascript"></script>
		<script src="http://lib.sinaapp.com/js/bootstrap/2.0.3/js/bootstrap.min.js" type="text/javascript"></script>
		<script src="<?php echo base_url()?>js/fun.js" type="text/javascript"></script>
	</head>
	<body>
		<?php
		$is_reset_expired = $from != null && $from == Variable::MAIL_FALSE_EXPIRED;

		$header = '';
		if ($is_reset_expired) {
			$header = '链接已超时！请重新找回密码。';
		} else {
			$header = '请填写邮件地址，找回密码。';
		}
		?>
		<div class="container">
			<div class="navbar login-navbar">
				<div class="navbar-inner navbar-fixed-top">
					<div class="container">
						<a class="brand" href="#"></a>
						<ul class="nav pull-right">
							<li class="divider-vertical"></li>
							<li class="dropdown">
								<a href="#"> <i class="icon-white icon-heart"></i>使用帮助</a>
							</li>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div class="container front-container  send-container">
						
			<div class="alert-main">
				<div class="alert-console">
					<h1><?php echo $header;?></h1>
					<div>
						<?php 
						$attributes = array('id' => 'forgetform');
						echo form_open('user/send_forgot_mail',$attributes)
						?>
						<input type="text" class="input-xlarge focused" id="mail" autocomplete="off" name="mail" style="margin-bottom:-2px;"/>
						<input type="submit" class="btn btn-warning" value="发送邮件"/>
						<?php echo form_close()
						?>
					</div>
					<div></div>
				</div>
			</div>
		</div>
		<script>
			bdc.login.forgetHandler()
		</script>
	</body>
</html>